﻿@model PartyInvite.Models.GuestResponse

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>RSVP for Invitation</title>
    <link href="~/content/bootstrap.css" rel="stylesheet" />
    <link href="~/content/bootstrap-theme.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="~/Content/Site.css">
    <style>
        .btn a {
            color: white;
            text-decoration: none;
        }

        body {
            background-color: #F5F5F5;
        }
    </style>
</head>
<body>
    <div id="wrap">
        <div class="container">
            <div class="text-center">
                <div class="page-header">
                    <h2>We appreciate your prompt RSVP! </h2>
                </div>

                <p class="lead">
                    Please enter your details here: 
                </p>
            </div>
            <div class="panel-body">
                @using (Html.BeginForm())
                {
                    @Html.ValidationSummary() 
                    <div class="form-group">
                        <label>Your Name:</label>
                        @Html.TextBoxFor(x => x.Name, new { @class = "form-control" })
                    </div>
                    <div class="form-group">
                        <label>Your e-Mail:</label>
                        @Html.TextBoxFor(x => x.Email, new { @class = "form-control" })
                    </div>
                    <div class="form-group">
                        <label>Your Phone:</label>
                        @Html.TextBoxFor(x => x.Phone, new { @class = "form-control" })
                    </div>
                    <div class="form-group">
                        <label>Will you attend?</label>
                        @Html.DropDownListFor(x => x.WillAttend, new[] { new SelectListItem() { Text = "Yes, I will be there", Value = bool.TrueString }, new SelectListItem() { Text = "No, I will not", Value = bool.FalseString } }, "Choose an option", new { @class = "form-control" })
                    </div>
                    <div class="text-center">
                        <input type="submit" value="Submit RSVP" class="btn btn-success" />
                    </div>
                }

            </div>
            <br/>
            <div id="push"></div>

        </div>
    </div>

    <div id="footer">
        <div class="container">
            <div class="text-center">
                <p class="muted credit">Courtesy of <a href="http://www.fortetek.com" target="_blank">Forte Software Tech. Inc.</a></p>
            </div>
        </div>
    </div>
</body>
</html>
